package com.hongyue.na;

public class Demo {
    public static void main(String[] args) {
        fangFa(() -> System.out.println("111"));
        CheShi c = fanFa1();
        c.CS();
    }

    private static void fangFa(CheShi o) {
        o.CS();
    }

    private static CheShi fanFa1() {
        return () -> System.out.println("222");
    }
}
